#include "test_common.h"

#define TEST_POSIX_NAME "test01"
#define TEST_SIZE 1024

Eshm_Segment * test_common_segment_get(void)
{
	Eshm_Segment *s;

	s = eshm_segment_posix_new(TEST_POSIX_NAME, EINA_FALSE,
			TEST_SIZE);
	return s;
}

Eshm_Segment * test_common_segment_new(void)
{
	Eshm_Segment *s;

	s = eshm_segment_posix_new(TEST_POSIX_NAME, EINA_TRUE,
			TEST_SIZE);
	return s;
}

void test_common_init(void)
{
	eshm_init();
}

void test_common_shutdown(void)
{
	eshm_shutdown();
}

